package kr.hkit.powerjava.work;

import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JLabel;
import java.awt.FlowLayout;
import javax.swing.BoxLayout;
import javax.swing.JTextField;

public class Panel_AddLabel extends JPanel {
	private JTextField textField;

	/**
	 * Create the panel.
	 */
	public Panel_AddLabel() {

		initialize();
	}
	private void initialize() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		
		Panel_DynamicLabel panel_ProCode = new Panel_DynamicLabel("제품코드:");
		add(panel_ProCode);
		
		JPanel panel = new JPanel();
		add(panel);
		
		JLabel lbldisable = new JLabel("제 품 명:");
		panel.add(lbldisable);
		
		textField = new JTextField();
		panel.add(textField);
		textField.setColumns(10);
		
		Panel_DynamicLabel panel_Price = new Panel_DynamicLabel("제품단가:");
		add(panel_Price);
		
		
		Panel_DynamicLabel panel_Count = new Panel_DynamicLabel("판매수량:");
		add(panel_Count);
		
		Panel_DynamicLabel panel_Margin = new Panel_DynamicLabel("마 진 율:");
		add(panel_Margin);
	}

}
